//
//  PCDApiUserInfo.m
//  PCDBankSix
//
//  Created by DK on 2022/3/30.
//

#import "PCDApiUserInfo.h"
#import "PCDLoginSession.h"

@implementation PCDApiUserInfo

- (void)handler:(id)data andContext:(PCDContext *)context ResponseCallback:(WVJBResponseCallback)responseCallback
{
    PCDLoginSession *loginSession = [PCDUtil loginSession];
    
    NSDictionary *dic = (NSDictionary *)data;
    NSString *callBack = [dic objectForKey:@"success"];

    
    if (callBack) {
        evaluateJavaScriptOnMainThread(self,callBack,loginSession.toString);
    }
}

@end
